package springboot.springboot06_ssmp.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import springboot.springboot06_ssmp.entity.Role;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author daiqiang
 * @since 2024-06-16
 */
public interface IRoleService extends IService<Role> {

    //分页，模糊查询
    IPage<Role> getPage(int currentPage, int pageSize, Role role);


    void addRole(Role role);

    Role getRoleById(Integer id);

    void updateRole(Role role);

    void deleteRoleById(Integer id);
}
